package com.example.sup.mapStruct;

import org.apache.ibatis.annotations.Mapper;
import org.mapstruct.Mapping;

/**
 * @ClassName PersonMapper
 * @Description {TODO}
 * @Author 李哲
 * @Date 22:20 2024/7/31
 * @Version 1.0
 */
@Mapper
public interface PersonMapper {
    PersonMapper MAPPER = PersonMapper.MAPPER;


    PersonDto toDto(Person person);


    Person toEntity(PersonDto personDto);
}